home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
ctlib100.zip
/
INSTALL.LZH
/
CTTREES.INT
< prev
next >
Wrap
Text File
|
1996-10-12
|
1KB
|
41 lines
{**************************************************************************}
{* BitSoft Development, L.L.C. *}
{* Copyright (C) 1995, 1996 BitSoft Development, L.L.C. *}
{* All rights reserved. *}
{* Base tree objects unit *}
{* Version 1.3.6 *}
{**************************************************************************}
unit ctTrees;
{$X+}
interface
uses Objects, BsdTypes, Containr;
type
PTree = ^TTree;
TTree = object(TGraph)
function Degree : Word; virtual;
function Empty : Boolean; virtual;
function Height : Word; virtual;
end; { TTree }
type
PStreamTree = ^TStreamTree;
TStreamTree = object(TTree)
Stream : PStream;
Offset : LongInt;
Root : Longint;
constructor Init (AStream : PStream);
constructor Open (AStream : PStream);
procedure Flush; virtual;
procedure ReadHeader; virtual;
procedure Reset; virtual;
procedure WriteHeader; virtual;
end; { TStreamTree }
implementation
end.